Video Generation Params
data class VideoGenerationParams(val prompt: String, val n: Int = 1, val image: GeneratedFile? = null, val durationSeconds: Float? = null, val size: String? = null, val aspectRatio: String? = null, val providerOptions: Map<String, JsonElement> = emptyMap(), val headers: Map<String, String> = emptyMap(), val abortSignal: AbortSignal = AbortSignalNever, val seed: Int? = null, val fps: Int? = null, val resolution: String? = null)
Constructors
Link copied to clipboard
constructor(prompt: String, n: Int = 1, image: GeneratedFile? = null, durationSeconds: Float? = null, size: String? = null, aspectRatio: String? = null, providerOptions: Map<String, JsonElement> = emptyMap(), headers: Map<String, String> = emptyMap(), abortSignal: AbortSignal = AbortSignalNever, seed: Int? = null, fps: Int? = null, resolution: String? = null)